package com.ux.iot.core.bo;

/**
 * @author caixiaodao
 * @version 1.0
 * 功能描述
 * 异常消息
 * @date 2021/11/30 10:00
*/
public enum ResultCode {
        /**
         * 成功
         */
        SUCCESS("200", "success"),
        /**
         * 未知错误
         */
        SYSTEM_ERROR_B0001("0x10001", "unkonwn error");

        /**
         * 结果码
         */
        private String code;

        /**
         * 结果码描述
         */
        private String msg;


        ResultCode(String code, String msg) {
            this.code = code;
            this.msg = msg;
        }


    public String getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }


